package com.gdut.simple.common;

import com.gdut.simple.data.entity.User;

import cn.bmob.v3.BmobUser;

public class UserUtils {

    public static boolean isLogin() {
        return BmobUser.getCurrentUser(User.class) != null
                && BmobUser.getCurrentUser(User.class).getObjectId() != null;
    }

}
